import 'package:flutter/material.dart';
import 'package:smart_shop/components/shop_search_bar.dart';

class CartPage extends StatelessWidget {
  const CartPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Colors.pink,
        foregroundColor: Colors.white,
        centerTitle: true,
        title: const Text('购物车'),
      ),
      body: const CustomScrollView(
        slivers: [
          SliverToBoxAdapter(
            child: ShopSearchBar(),
          )
        ],
      ),
    );
  }
}
